package br.com.sgmf.dao;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import br.com.sgmf.model.MotoristaVeiculo;

@Repository
public class MotoristaVeiculoDAO {

	@PersistenceContext
	private EntityManager manager;

	@Transactional
	public void save(MotoristaVeiculo motoristaVeiculo) {
		manager.persist(motoristaVeiculo);
	}

}
